<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
   <head>
      <!-- basic -->
      <meta charset="utf-8">
      <meta http-equiv="X-UA-Compatible" content="IE=edge">
      <meta name="viewport" content="width=device-width, initial-scale=1">
      <!-- mobile metas -->
      <meta name="viewport" content="width=device-width, initial-scale=1">
      <meta name="viewport" content="initial-scale=1, maximum-scale=1">
      <!-- site metas -->
      <title>About</title>
      <meta name="keywords" content="">
      <meta name="description" content="">
      <meta name="author" content="">

       <link href="css/style2.css" rel='stylesheet' type='text/css' />
      <!-- bootstrap css -->
      <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
      <!-- style css -->
      <link rel="stylesheet" type="text/css" href="css/style.css">
      <!-- Responsive-->
      <link rel="stylesheet" href="css/responsive.css">
      <!-- fevicon -->
      <link rel="icon" href="images/fevicon.png" type="image/gif" />
      <!-- Scrollbar Custom CSS -->
      <link rel="stylesheet" href="css/jquery.mCustomScrollbar.min.css">
      <!-- Tweaks for older IEs-->
      <link rel="stylesheet" href="https://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css">
      <!-- owl stylesheets -->

      <link rel="stylesheet" href="css/owl.carousel.min.css">
      <link rel="stylesheet" href="css/owl.theme.default.min.css">
      <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.5/jquery.fancybox.min.css" media="screen">
   </head>
   <script>
       function yw() {
           location="toyiwen";
       }
       function gs() {
           location="togushi";
       }
       function sx() {
           location="toshangxi";
       }function zs() {
           location="tozhushi";
       }



   </script>
   <body>
      <!-- header section start -->
     <div class="header_section">
        <div class="container-fluid">
           <nav class="navbar navbar-expand-lg navbar-light bg-light">
              <div class="logo"><a href="index.html"><img src="images/432700861a341e5bde64f611ac83c163.png"></a></div>
              <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
              <span class="navbar-toggler-icon"></span>
              </button>
              <div class="collapse navbar-collapse" id="navbarSupportedContent">
                 <ul class="navbar-nav mr-auto">
                    <li class="nav-item">
                       <a class="nav-link" href="index.html">首页</a>
                    </li>
                    <li class="nav-item">
                       <a class="nav-link" href="services.html">分类</a>
                    </li>
                    <li class="nav-item">
                       <a class="nav-link" href="about.html">作者</a>
                    </li>
                    <li class="nav-item">
                       <a class="nav-link" href="shop.html">排行榜</a>
                    </li>
                    <li class="nav-item">
                       <a class="nav-link" href="contact.html">古籍</a>
                    </li>
                 </ul>
                 <form class="form-inline my-2 my-lg-0">
                    <h1 class="call_text">马猪古诗词</h1>
                 </form>
                 <div class="search_icon">
                    <ul>
                       <li><a href="#"><img src="images/search-icon.png"></a></li>
                       <li><a href="#">登录</a></li>
                    </ul>
                 </div>
              </div>
           </nav>
        </div>
     </div>
     
	    <div class="container" >
			<div class="row" >
				<div class="col-md-7" >
						 <div class="container">
						       <div style="background-color: #F8F9FA; width: 500px; height: 300px;" class="aa" th:each="a:${list}">
								   <h1 class="qq" >[[${a.topic}]]</h1>
								   <p class="zz">[[${a.dynasty}]]代&nbsp&nbsp[[${a.author}]]</p>
								   <p class="ww">
									   [[${a.content}]]
									   <button>点赞</button>
									   <button>评论</button>
						       </div>
							   <div style="background-color: #F8F9FA; width: 500px; height: 150px;" class="aa">
                                   <button th:onclick="yw()">添加译文</button>
							   						 				   <h1 class="qq">译文</h1>
							   						 				       <p class="wwe">
							   						 				      我有一头小毛驴，
                                                                               名字叫做陈鸿宇。
																	   </p>			
							   </div>
							   <div style="background-color: #F8F9FA; width: 500px; height: 150px;" class="aa">
                                   <button th:onclick="gs()">添加故事</button>
							   						 				   <h1 class="qq">故事</h1>
							   						 				       <p class="wwe">
                                                                               我有一头小毛驴，
                                                                               名字叫做陈鸿宇。
							   						 				  
							   																	   </p>			
							   </div>
							   <div style="background-color: #F8F9FA; width: 500px; height: 150px;" class="aa">
                                   <button th:onclick="sx()">添加赏析</button>
							   						 				   <h1 class="qq">赏析</h1>
							   						 				       <p class="wwe">
                                                                               我有一头小毛驴，
                                                                               名字叫做陈鸿宇。
							   						 				  
							   																	   </p>			
							   </div>
							   <div style="background-color: #F8F9FA; width: 500px; height: 150px;" class="aa">
                                   <button th:onclick="zs()">添加注释</button>
							   						 				   <h1 class="qq">注释</h1>
							   						 				       <p class="wwe">
                                                                               我有一头小毛驴，
                                                                               名字叫做陈鸿宇。
							   						 				  
							   																	   </p>			
							   </div>
						    </div>
				</div>
				 <div class="col-md-4" >
					 <div class="" style="background-color: #EDEDED; width: 350px; height: 150px;">
						 <div style="width: 350px; height: 30px; background-color: #CED4DA;"><h2>作者</h2></div>
						 <ul class="pull-left" th:each="a:${authorlst.getRecords()}">
							 <li><a href="#"><span class="ee">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[${a.authorname}]]</span></a></li>
						 </ul>
					 </div>
					 <div class="zuozhe" style="background-color: #EDEDED; width: 350px; height: 150px;">
						 <div style="width: 350px; height: 30px; background-color: #CED4DA;"><h2>推荐</h2></div>
						 <ul class="pull-left" th:each="a:${authorlst.getRecords()}">
							 <li><a href="#"><span class="ee">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[${a.authorname}]]</span></a></li>
						 </ul>
					 </div>
					 <div class="zuozhe" style="background-color: #EDEDED; width: 350px; height: 150px;" >
						 <div style="width: 350px; height: 30px; background-color: #CED4DA;"><h2>朝代</h2></div>
						 <ul class="pull-left" th:each="a:${dynastylst.getRecords()}">
							 <li><a href="#"><span class="ee">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[${a.dynastyname}]]</span></a></li>
						 </ul>
					 </div>
						 </div>		  
				 </div>
			</div>
			
		</div>
      <!-- copyright section end -->
      <!-- Javascript files-->
      <script src="js/jquery.min.js"></script>
      <script src="js/popper.min.js"></script>
      <script src="js/bootstrap.bundle.min.js"></script>
      <script src="js/jquery-3.0.0.min.js"></script>
      <script src="js/plugin.js"></script>
      <!-- sidebar -->
      <script src="js/jquery.mCustomScrollbar.concat.min.js"></script>
      <script src="js/custom.js"></script>
      <!-- javascript --> 
      <script src="js/owl.carousel.js"></script>
      <script src="https://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.5/jquery.fancybox.min.js"></script>    
   </body>
</html>